namespace ColladaDotNet.OpenTKMapping
{
	internal class LocalInput : DocumentLibraryElement<InputLocal>
	{
		internal override void Load(InputLocal colladaData)
		{
			base.Load(colladaData);
		}

		public string Semantic
		{
			get
			{
				return Collada.semantic;
			}
		}
		public SourceParam SourceParam
		{
			get
			{
				if (Source == null)
					return null;
				return Source[Semantic];
			}
		}

		public Source Source
		{
			get
			{
				return Document.GetElementByUrl<Source>(Collada.source);
			}
		}
	}
}